package com.khshop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.khshop.pojo.Loginfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.khshop.vo.ServiceResult;

import java.util.Map;

/**
 * <p>
 * 访问日志 服务类
 * </p>
 *
 * @author zhaoyang
 * @since 2020-10-16
 */
public interface LoginfoService extends IService<Loginfo> {


    //新增访问日志
    public ServiceResult<Loginfo> addLogInfo(Loginfo loginfo);

    //修改访问日志
//    public ServiceResult<Loginfo> updateLogInfo(Loginfo loginfo);

    //删除访问日志
    public ServiceResult<Loginfo> delLogInfo(Integer id);

    //查询访问日志
    public ServiceResult<IPage<Loginfo>> searchLogInfo(Map<String,String> map, Integer page, Integer limit);

}
